[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 14.04.2024 um 14:53: Am 14.04.24 um 14:46 schrieb Wolfgang Schuster: garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Henning Hraban Ramm
Am 14.04.24 um 14:46 schrieb Wolfgang Schuster: garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : -

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : - https://wiki.contextgarden.net/Command/startbuffer -

[NTG-context] Re: what about "textdisplay"?

2024-04-02 Thread Hans Hagen via ntg-context
On 4/2/2024 7:44 AM, Henning Hraban Ramm wrote: Am 01.04.24 um 18:54 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 18:54 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in the source of a presentation from him. I

[NTG-context] what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. I wanted to document it, but can’t find it in the sources: $ context --find=textdisplay mtx-context |

[NTG-context] Re: Log entries about confusing level change

2024-03-08 Thread Hans Hagen
On 3/8/2024 3:38 AM, Rik Kabel wrote: Hello all, The following example produces two log entries that seem a bit odd. The log entries are: backend > bookmarks > confusing level change at level 3 around '1 body1' backend > bookmarks > confusing level change at level

[NTG-context] Log entries about confusing level change

2024-03-07 Thread Rik Kabel
Hello all, The following example produces two log entries that seem a bit odd. The log entries are: backend > bookmarks > confusing level change at level 3 around '1 body1' backend > bookmarks > confusing level change at level 3 around 'back1' and they refer to

[NTG-context] Question about drawing flowchart using chart module

2023-12-27 Thread Jeong Dal via ntg-context
Dear all, I tried to draw a flow chart using the module[chart]. Following the examples, I draw one. The problem is that the size of the chart is not changed even though I changed the numbers dx,dy, width, height, and maxwidth in the \setupFLOWcharts Please tell me how to resize the chart.

[NTG-context] Re: About framedtext

2023-12-13 Thread Alan Braslau via ntg-context
On Wed, 13 Dec 2023 18:55:34 +0100 Wolfgang Schuster wrote: > This was added a few years ago (AFAIR to provide something similar to > the TikZ color command). You actually mean similar to the MetaPost color command. Alan ;-)

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 18:55 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 13.12.2023 um 18:19: Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice   

[NTG-context] Re: About framedtext

2023-12-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.12.2023 um 18:19: Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice    \definecolor[ColorA][0.8(white)]   

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 18:19 schrieb Wolfgang Schuster: Fabrice Couvreur schrieb am 13.12.2023 um 19:03: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. There is a problem with the corner option, you can either hope it gets fixed in the next release

[NTG-context] Re: About framedtext

2023-12-13 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 13.12.2023 um 19:03: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. There is a problem with the corner option, you can either hope it gets fixed in the next release (corner=round still works) or create your own

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice   \definecolor[ColorA][0.8(white)]   \definecolor[MyColorA][.75(MyColorB,white)] I never saw this syntax in ConTeXt. That doesn’t

[NTG-context] About framedtext

2023-12-13 Thread Fabrice Couvreur
Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice \definecolor[MyColorC][s=0.8784] \definecolor[MyColorD][m=0.27,y=1] \definecolor[ColorA][0.8(white)] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]

[NTG-context] Re: learning about the grid

2023-11-20 Thread Wolfgang Schuster
madiazm.eo...@gmail.com schrieb am 19.11.2023 um 23:17: Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with

[NTG-context] Re: learning about the grid

2023-11-20 Thread Pablo Rodriguez via ntg-context
On 11/19/23 23:17, madiazm.eo...@gmail.com wrote: > Thanks, Pablo and Henning > > I suppose I am making a mistake with my setupinterlinearspace. My > school asks for Times New Roman (I use termes) 12pt and > onehalfspacing. In latex I used linespread{1.3} and so I supposed > setting ConTeXt with

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 23:17 schrieb madiazm.eo...@gmail.com: Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with

[NTG-context] Re: learning about the grid

2023-11-19 Thread madiazm . eoicc
Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with setupinterlinearspace[1.3ex] was the right way (I read

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 13:27 schrieb Miguel Diaz: 1. Why are the lines printed one over the other when grid=no? how do profis then use context without grid? That usually only happens in one of the column modes that requires the grid. It doesn’t happen in usual one-column typesetting. There must be

[NTG-context] Re: learning about the grid

2023-11-19 Thread Pablo Rodriguez via ntg-context
yourself the values: \starttext \the\exheight\\ %\the \dimexpr1.3\exheight\\ \the\emwidth \stoptext The first line will give you 1ex is about 5.7pt (with the default font used by ConTeXt). 1.3ex would be less than 6.75pt. The value of 1em is the value of the font size. Default for ConTeX

[NTG-context] learning about the grid

2023-11-19 Thread Miguel Diaz
Hi everyone, being a newbie I just discovered how different setups for the grid may affect my (very simple) document. In the Details manual (which of course I don't understand because of my unexperience) I read that many people don't use the grid, but when I configure grid=no the whole lines of a

[NTG-context] Re: Question about building an array of values with Lua

2023-08-25 Thread Fabrice Couvreur
Hi Wolfgang, Thank you so much Fabrice Le jeu. 24 août 2023 à 19:46, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > Otared Kavian schrieb am 24.08.2023 um 12:50: > > > On 24 Aug 2023, at 06:03, Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com> wrote: > > […] > > > I

[NTG-context] Re: Question about building an array of values with Lua

2023-08-24 Thread Wolfgang Schuster
Otared Kavian schrieb am 24.08.2023 um 12:50: On 24 Aug 2023, at 06:03, Wolfgang Schuster > wrote: […] I would drop the column check in this case.     for i = 0,9 do     context.startxrow()     context.startxcell()    

[NTG-context] Re: Question about building an array of values with Lua

2023-08-24 Thread Otared Kavian
> On 24 Aug 2023, at 06:03, Wolfgang Schuster > wrote: >> […] > > I would drop the column check in this case. > > for i = 0,9 do > context.startxrow() > context.startxcell() > context(i) > context.stopxcell() >

[NTG-context] Re: Question about building an array of values with Lua

2023-08-24 Thread Fabrice Couvreur
Hi Otared and Wolgang, Thanks for the answers. In fact, being familiar with Python and not at all with Lua, I didn't have the reflex to think of using a mathematical function which gives the remainder in the Euclidean division by 10, it's strange !! Fabrice Le jeu. 24 août 2023 à 04:06, Wolfgang

[NTG-context] Re: Question about building an array of values with Lua

2023-08-23 Thread Wolfgang Schuster
Otared Kavian schrieb am 24.08.2023 um 01:04: Hi Fabrice, As Wolfgang points out, it is indeed possible to fill-in your table with Lua: maybe you were wondering how to fill the columns 2, 3 and 4. In this case you need to use the Lua function math.mod as in the following, which is a

[NTG-context] Re: Question about building an array of values with Lua

2023-08-23 Thread Otared Kavian
Hi Fabrice, As Wolfgang points out, it is indeed possible to fill-in your table with Lua: maybe you were wondering how to fill the columns 2, 3 and 4. In this case you need to use the Lua function math.mod as in the following, which is a completed version of what Wolfgang sent: %% begin

[NTG-context] Re: Question about building an array of values with Lua

2023-08-23 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 23.08.2023 um 19:28: Hi, I'm trying to fill an array using lua. So far it works but then I don't know if it's possible. Where do you have problems (look into cld-mkiv.pdf for hins)? \starttext \startluacode context.startxtable{ align = "middle,lohi", bodyfont =

[NTG-context] Question about building an array of values with Lua

2023-08-23 Thread Fabrice Couvreur
Hi, I'm trying to fill an array using lua. So far it works but then I don't know if it's possible. Thanks Fabrice \startluacode context.startxtable({"align={middle,lohi},bodyfont=9pt,framecolor=black"}) context.startxrow({"background=color, backgroundcolor=lightgray"})

[NTG-context] Re: your opinion about list structures

2023-08-22 Thread Henning Hraban Ramm
Am 22.08.23 um 17:12 schrieb denis.ma...@unibe.ch: Hi Hraban, a late reply concerning the ToCs in your book: maybe you could an two-toc-approach like in the Memoir manual? One could show only the chapters, another would contain everything. Hi, since Keith as the only other responder also

[NTG-context] Re: your opinion about list structures

2023-08-22 Thread denis.maier
rstag, 10. August 2023 15:22 > An: mailing list for ConTeXt users > Betreff: [NTG-context] your opinion about list structures > > Hi, this is about my ConTeXt book again. > > [ToC] > > At the moment, my table of contents has chapters and sections and is 8 pages &g

[NTG-context] Re: your opinion about list structures

2023-08-10 Thread Keith McKay
, this is about my ConTeXt book again… [ToC] At the moment, my table of contents has chapters and sections and is 8 pages long. I would probably hardly use it. Maybe it would be better to show only chapters (29 content + 12 appendix = 2 pages) and include a list of sections after the chapter title

[NTG-context] your opinion about list structures

2023-08-10 Thread Henning Hraban Ramm
Hi, this is about my ConTeXt book again… [ToC] At the moment, my table of contents has chapters and sections and is 8 pages long. I would probably hardly use it. Maybe it would be better to show only chapters (29 content + 12 appendix = 2 pages) and include a list of sections after

[NTG-context] Re: About Pgfplot.-

2023-07-22 Thread Aditya Mahajan
On Sat, 22 Jul 2023, Freddy Omar López Quintero wrote: > I’m trying to reproduce the example in https://wiki.contextgarden.net/Pgfplot > and I’m getting this error: That example is a little hard to test because you need to download a bunch of data files to test it, but pgfplots is working in

[NTG-context] About Pgfplot.-

2023-07-22 Thread Freddy Omar López Quintero
Hello! I’m trying to reproduce the example in https://wiki.contextgarden.net/Pgfplot and I’m getting this error: tex error > tex error on line 926 in file pgfcorepoints.code.tex: Missing control sequence inserted \inaccessible " \pgfsetzvec \catcode `\==12 \catcode

Re: [NTG-context] About \blackrule

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Thanks a lot. Fabrice Le mer. 19 avr. 2023 à 15:05, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 19.04.2023 um 17:01: > > Hi, > The idea is to have a black square whose height is that of the number 3. > Thanks >

Re: [NTG-context] About \blackrule

2023-04-19 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 19.04.2023 um 17:01: Hi, The idea is to have a black square whose height is that of the number 3. Thanks Fabrice \setupbodyfont[12pt,pagella] \starttext  \blackrule[width=0.71em,height=0.71em]37254H

[NTG-context] About \blackrule

2023-04-19 Thread Fabrice Couvreur via ntg-context
Hi, The idea is to have a black square whose height is that of the number 3. Thanks Fabrice \setupbodyfont[12pt,pagella] \starttext \blackrule[width=0.71em,height=0.71em]37254H \stoptext ___ If your question is of

Re: [NTG-context] question about multimedia renderings

2023-01-16 Thread Pablo Rodriguez via ntg-context
On 1/16/23 02:42, Michal Vlasák via ntg-context wrote: > [...] > I would think that something like the attached could work. But in some > cases it fails on the TeX side with something I am not sure about. I > probably overlooked something. Anyways the idea is to just use the > Star

Re: [NTG-context] question about multimedia renderings

2023-01-15 Thread Michal Vlasák via ntg-context
On Sun Jan 15, 2023 at 10:49 PM CET, Pablo Rodriguez via ntg-context wrote: > Dear list, > > I’m planning to add an explanation about multimedia inclusion to the > wiki, but first I wanted to discuss an issue I have found. > > I have the following sample (adapted

[NTG-context] question about multimedia renderings

2023-01-15 Thread Pablo Rodriguez via ntg-context
Dear list, I’m planning to add an explanation about multimedia inclusion to the wiki, but first I wanted to discuss an issue I have found. I have the following sample (adapted from scrn-wid.mklx): \setupinteraction[state=start] \starttext \null\page \definerenderingwindow

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Hi Mikael, Great job ! Thanks Fabrice Le dim. 2 oct. 2022 à 15:37, Mikael Sundqvist via ntg-context < ntg-context@ntg.nl> a écrit : > Hi, > > On Sun, Oct 2, 2022 at 3:26 PM Hans Hagen via ntg-context > wrote: > > > > On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: > > > Ok, it

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Mikael Sundqvist via ntg-context
Hi, On Sun, Oct 2, 2022 at 3:26 PM Hans Hagen via ntg-context wrote: > > On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: > > Ok, it works very well. Without wanting to insist, how to have the same > > hatching with two different figures ? > see upcoming mail from Mikael Oh, OK,

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Hans Hagen via ntg-context
On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: Ok, it works very well. Without wanting to insist, how to have the same hatching with two different figures ? see upcoming mail from Mikael Hans -

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Ok, it works very well. Without wanting to insist, how to have the same hatching with two different figures ? Thanks. Fabrice Le dim. 2 oct. 2022 à 13:38, Hans Hagen via ntg-context a écrit : > On 10/2/2022 1:02 PM, Fabrice Couvreur via ntg-context wrote: > > I just tried but I got an empty

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Hans Hagen via ntg-context
On 10/2/2022 1:02 PM, Fabrice Couvreur via ntg-context wrote: I just tried but I got an empty file... Do we agree that I have to replace the two lines with the other two ? Regarding what you proposed, how to get the same type of hatching in both figures ? no, we disagree here; add them after

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
I just tried but I got an empty file... Do we agree that I have to replace the two lines with the other two ? Regarding what you proposed, how to get the same type of hatching in both figures ? \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] = (2cm,0cm) ;

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Hans Hagen via ntg-context
On 10/2/2022 11:20 AM, Floris van Manen via ntg-context wrote: On 02/10/2022 10:55, Fabrice Couvreur via ntg-context wrote: Initially, there was a bug with maro numberstriped() and Hans suggested another sensible approach to me, but you don't get the same shape of the hatches depending on

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Not only, it is also true with the code below : \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] = (2cm,0cm) ; z[1] = (2cm,4cm) ; z[2] = (0cm,2cm) ; q := llcorner p--z[0]--z[1]--z[2]--cycle ; r := unitsquare xyscaled (1cm,1cm) shifted(0,3cm) ;

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Floris van Manen via ntg-context
On 02/10/2022 10:55, Fabrice Couvreur via ntg-context wrote: Initially, there was a bug with maro numberstriped() and Hans suggested another sensible approach to me, but you don't get the same shape of the hatches depending on the dimensions of the squares. some unexpected side effect show

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Hi, Initially, there was a bug with maro numberstriped() and Hans suggested another sensible approach to me, but you don't get the same shape of the hatches depending on the dimensions of the squares. Your solution works perfectly but I'm trying to understand the action of the parameters: the

Re: [NTG-context] About macro numberstriped ()

2022-10-01 Thread Mikael Sundqvist via ntg-context
Hi, Is this what you are looking for? On Sat, Oct 1, 2022 at 7:43 PM Fabrice Couvreur via ntg-context wrote: > > Hi Hans, > When the rectangles are not identical, how to have the same type of hatching > in both ? > Thanks. > Fabrice > > > \starttext > \startlinecorrection[blank] >

Re: [NTG-context] About macro numberstriped ()

2022-10-01 Thread Fabrice Couvreur via ntg-context
Hi Hans, When the rectangles are not identical, how to have the same type of hatching in both ? Thanks. Fabrice \starttext \startlinecorrection[blank] \startmidaligned \switchtobodyfont[9pt] \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] =

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Henning Hraban Ramm via ntg-context
Am 28.09.22 um 15:29 schrieb Hans Hagen via ntg-context: On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: PS : What is the exact meaning of the word "blobs" because my English is average ? in order to get 'lines' you need to fill the two opposing corners with "blobs of ink"

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Hans Hagen via ntg-context
On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: Hi Hans, Thank you for this solution which is an approach that I did not know. Fabrice PS : What is the exact meaning of the word "blobs" because my English is average ? in order to get 'lines' you need to fill the two opposing

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Fabrice Couvreur via ntg-context
Hi Hans, Thank you for this solution which is an approach that I did not know. Fabrice PS : What is the exact meaning of the word "blobs" because my English is average ? Le mar. 27 sept. 2022 à 22:04, Hans Hagen via ntg-context < ntg-context@ntg.nl> a écrit : > On 9/27/2022 7:49 PM, Fabrice

Re: [NTG-context] About macro numberstriped ()

2022-09-27 Thread Hans Hagen via ntg-context
On 9/27/2022 7:49 PM, Fabrice Couvreur via ntg-context wrote: Hello, I notice a strange behavior of the macro numberstriped ( ). Thanks. Fabrice \starttext  \switchtobodyfont[9pt]  \startMPcode   path p, q, r, b ;   p  := unitsquare xyscaled (4cm,4cm) ;   z[0] = (2cm,0cm) ;   z[1] =

[NTG-context] About macro numberstriped ()

2022-09-27 Thread Fabrice Couvreur via ntg-context
Hello, I notice a strange behavior of the macro numberstriped ( ). Thanks. Fabrice \starttext \switchtobodyfont[9pt] \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] = (2cm,0cm) ; z[1] = (2cm,4cm) ; z[2] = (0cm,2cm) ; q := llcorner

[NTG-context] Question about text backgrounds

2022-09-03 Thread Alexandre Christe via ntg-context
Hmmm it seems the trick lies in adding \setupfloats [freeregion=no] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Question about text backgrounds

2022-09-03 Thread Alexandre Christe via ntg-context
Hi, I just came across nofmultipars (which is great for splitting frames across pages, unlike a simple framed). Is there an equivalent for floats? The MWE would contain \startuseMPgraphic{mp:textFrame} begingroup; path p ; for i = 1 upto nofmultipars : p := (ulcorner multipars[i]) -- (llcorner

[NTG-context] A few questions about texmfcnf.lua and mtxrun in TexLive.

2022-08-20 Thread amano.kenji via ntg-context
I'm currently using TexLive 2021 from Gentoo Linux. TexLive 2022 may behave with slight differences. * How does /usr/share/texmf-local/web2c/texmfcnf.lua override /usr/share/texmf-dist/web2c/texmfcnf.lua? According to mtxrun --configurations, /usr/share/texmf-dist comes later than

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-03 Thread Jean-Pierre Delange via ntg-context
Of course ! I’ve seen these quotes ! I don’t know what is the purpose of ICCPROFILES ... > Le 3 janv. 2022 à 09:35, Henning Hraban Ramm via ntg-context > a écrit : > > Am 03.01.22 um 09:22 schrieb Henning Hraban Ramm via ntg-context: >> You might want to set: >>

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-03 Thread Jean-Pierre Delange via ntg-context
> Le 3 janv. 2022 à 09:22, Henning Hraban Ramm via ntg-context > a écrit : > > Am 03.01.22 um 08:09 schrieb Jean-Pierre Delange via ntg-context: >> Thank you very much for your quick answer to you both Fabrice and Henning ! >> It seems there is no detailed docu

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-03 Thread Henning Hraban Ramm via ntg-context
Am 03.01.22 um 09:22 schrieb Henning Hraban Ramm via ntg-context: You might want to set: OSFONTDIR='/System/Library/Fonts//:/Library/Fonts//:~/Library/Fonts//:/Library/Application Support/Adobe/Fonts// #:~/FontExplorer\ X/Font\ Library//'

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-03 Thread Henning Hraban Ramm via ntg-context
Am 03.01.22 um 08:09 schrieb Jean-Pierre Delange via ntg-context: Thank you very much for your quick answer to you both Fabrice and Henning ! It seems there is no detailed documentation about peculiar aspects of CTX on MacOS. For instance, the use of fonts database on unix-like and MacOS

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-02 Thread Jean-Pierre Delange via ntg-context
Thank you very much for your quick answer to you both Fabrice and Henning ! It seems there is no detailed documentation about peculiar aspects of CTX on MacOS. For instance, the use of fonts database on unix-like and MacOS are a bit different (but not quite a lot) and this command : mtxrun

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-02 Thread Henning Hraban Ramm via ntg-context
Am 03.01.22 um 03:26 schrieb Jean-Pierre Delange via ntg-context: Now my question : I want to try CTX (ConTeXtver: 2021.12.30) on MacOS X (currently 10.13  High Sierra), while I was formerly working with old versions on Linux and Windows based systems. Among other difficulties (like how to

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-02 Thread Fabrice L via ntg-context
Hi, > Le 2 janv. 2022 à 21:26, Jean-Pierre Delange via ntg-context > a écrit : > > First of all : Happy New Year everybody (despite some difficulties due to > public policies against the epidemic ! > > Now my question : I want to try CTX (ConTeXt ver: 2021.12.30) on MacOS X > (currently

[NTG-context] Documentation about CTX installation on MacOS X

2022-01-02 Thread Jean-Pierre Delange via ntg-context
First of all : Happy New Year everybody (despite some difficulties due to public policies against the epidemic ! Now my question : I want to try CTX (ConTeXt ver: 2021.12.30) on MacOS X (currently 10.13 High Sierra), while I was formerly working with old versions on Linux and Windows based

Re: [NTG-context] About "clearpage"

2021-12-16 Thread Wolfgang Schuster via ntg-context
MANUEL GONZALEZ SUAREZ via ntg-context schrieb am 16.12.2021 um 20:15: Hi all: In the example below: [...] \newdimen\Margin \Margin=2cm \newdimen\MarginRaise \MarginRaise=56ex [...] \startsetups[text a] \raise\MarginRaise\hbox{\vtop{\hsize=\Margin% \startalignment[right]

[NTG-context] About "clearpage"

2021-12-16 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi all: In the example below: \setuppagenumbering[alternative=doublesided, location={footer,right},page=no] \newdimen\Margin \Margin=2cm \newdimen\MarginRaise \MarginRaise=56ex \setuptexttexts[margin][][\setups{text a}][\setups{text b}][] \setuptext[leftstyle=\sc,rightstyle=\em]

Re: [NTG-context] About margin notes

2021-12-14 Thread Hans Hagen via ntg-context
On 12/14/2021 11:58 AM, MANUEL GONZALEZ SUAREZ via ntg-context wrote: Hi all: I send this minimal example: \mainlanguage [es] \definefontfamily [mainface] [serif] [Gentium] \setupbodyfont[mainface] \setuppagenumbering[alternative=doublesided, location={footer,right}]

[NTG-context] About margin notes

2021-12-14 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi all: I send this minimal example: \mainlanguage [es] \definefontfamily [mainface] [serif] [Gentium] \setupbodyfont[mainface] \setuppagenumbering[alternative=doublesided, location={footer,right}] \setuplayout[textwidth=12cm,margin=2.5cm] \setupmargindata[inmargin][style={\tfx\em},

Re: [NTG-context] Dumb question about ligatures

2021-10-03 Thread Hans Hagen via ntg-context
ught that there was a more traditional solution you can write your own feature (examplex in test suite and manuals) where you map f + f onto ff Thanks Hans - I keep forgetting about the test suite. For the benefit of those coming here via the mail archive, I found what I needed in the cont-tst.zip test s

Re: [NTG-context] Dumb question about ligatures

2021-10-02 Thread Bruce Horrocks via ntg-context
t features file the 'right' way? I would >> have thought that there was a more traditional solution > you can write your own feature (examplex in test suite and manuals) where you > map f + f onto ff Thanks Hans - I keep forgetting about the test suite. For the benefit of those co

Re: [NTG-context] Dumb question about ligatures

2021-10-01 Thread Hans Hagen via ntg-context
On 10/2/2021 12:35 AM, Bruce Horrocks via ntg-context wrote: On 21 Sep 2021, at 02:47, Bruce Horrocks via ntg-context wrote: I'm using a TTF file that has no ligature capability as a built-in feature. It does however have glyphs for fi and fl but ConTeXt isn't substituting them. So the

Re: [NTG-context] Dumb question about ligatures

2021-10-01 Thread Bruce Horrocks via ntg-context
On 21 Sep 2021, at 02:47, Bruce Horrocks via ntg-context wrote: > > I'm using a TTF file that has no ligature capability as a built-in feature. > It does however have glyphs for fi and fl but ConTeXt isn't substituting them. > > So the question is: what do I need to do to persuade ConTeXt to

[NTG-context] Dumb question about ligatures

2021-09-20 Thread Bruce Horrocks via ntg-context
I'm using a TTF file that has no ligature capability as a built-in feature. It does however have glyphs for fi and fl but ConTeXt isn't substituting them. So the question is: what do I need to do to persuade ConTeXt to do fi & fl ligature substitution? — Bruce Horrocks Hampshire, UK

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Thierry Horsin via ntg-context
Hi again, Many thanks to Hans and Hans and Henri. The solution (going to low level) provided by Hans works fine. Best Thierry Le Monday 23 Aug 2021 à 17:13:00 (+0200), Hans Hagen a écrit : > On 8/23/2021 4:46 PM, Thierry Horsin via ntg-context wrote: > > Hi everybody. > > > > I wonder how does

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 5:24 PM, Hans van der Meer via ntg-context wrote: I guess the underlying library calls are from Lua5.4? Then it is perhaps useful to know that between 5.3 and 5.4 there is mentioned a new implementation for math.random. Perhaps it changes the sequence of random values generated?

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Henri Menke via ntg-context
On Mon, 2021-08-23 at 17:24 +0200, Hans van der Meer via ntg-context wrote: > I guess the underlying library calls are from Lua5.4? Then it is > perhaps useful to know that between 5.3 and 5.4 there is mentioned a > new implementation for math.random. Perhaps it changes the sequence of > random

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans van der Meer via ntg-context
I guess the underlying library calls are from Lua5.4? Then it is perhaps useful to know that between 5.3 and 5.4 there is mentioned a new implementation for math.random. Perhaps it changes the sequence of random values generated? Someone who knows? dr. Hans van der Meer > On 23 Aug 2021, at

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Henri Menke via ntg-context
me previous results of math.random() for > which no seed was initially given in another .tex file. You can immediately forget about that, because in the past Lua has switched the random number generator (RNG) between releases and also uses a different RNG depending on the operating system. In

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 4:46 PM, Thierry Horsin via ntg-context wrote: Hi everybody. I wonder how does math.random() work in context. I found that this subject was discussed more than ten years ago by Otared and Taco and Thomas. It is clear to me how to obtain new results upon typesetting the same file

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Thierry Horsin via ntg-context
Hi everybody. I wonder how does math.random() work in context. I found that this subject was discussed more than ten years ago by Otared and Taco and Thomas. It is clear to me how to obtain new results upon typesetting the same file by changing the value of math.randomseed (with os.time()).

Re: [NTG-context] Question about \groupedcommand{}{}

2021-07-28 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Thank you for this nice solution. Fabrice Le mar. 27 juil. 2021 à 21:31, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 27.07.2021 um 18:57: > > Hi, > > The name of the environment must always end with a dot both with

Re: [NTG-context] Question about \groupedcommand{}{}

2021-07-27 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 27.07.2021 um 18:57: Hi, The name of the environment must always end with a dot both with a title and without title. How to do ? Thanks Fabrice [...] You can create simple dummy environments to test the parameters. \defineenumeration

[NTG-context] Question about \groupedcommand{}{}

2021-07-27 Thread Fabrice Couvreur via ntg-context
Hi, The name of the environment must always end with a dot both with a title and without title. How to do ? Thanks Fabrice \setupenumerations [before={\blank}, after={\blank}, alternative=serried, title=yes, titleleft={(}, titleright={)}, titlestyle=normal,

Re: [NTG-context] question about followingup.pdf

2021-07-24 Thread Hans Hagen
On 7/24/2021 1:06 PM, Pablo Rodriguez wrote: On 7/22/21 3:53 PM, Hans Hagen wrote: On 7/22/2021 2:57 PM, Pablo Rodriguez wrote: [...] In latest, the PDF document for LMTX is from yesterday, but the PDF for the Following Up manual is almost two years old. Is this intended or am I missing

Re: [NTG-context] question about followingup.pdf

2021-07-24 Thread Pablo Rodriguez
On 7/22/21 3:53 PM, Hans Hagen wrote: > On 7/22/2021 2:57 PM, Pablo Rodriguez wrote: >> [...] >> In latest, the PDF document for LMTX is from yesterday, but the PDF for >> the Following Up manual is almost two years old. >> >> Is this intended or am I missing something? > i just didn't regenerate

Re: [NTG-context] question about followingup.pdf

2021-07-22 Thread Hans Hagen
On 7/22/2021 2:57 PM, Pablo Rodriguez wrote: Hi Hans, current latest has content added to the Following Up manual and also to the LMTX manual. In latest, the PDF document for LMTX is from yesterday, but the PDF for the Following Up manual is almost two years old. Is this intended or am I

[NTG-context] question about followingup.pdf

2021-07-22 Thread Pablo Rodriguez
Hi Hans, current latest has content added to the Following Up manual and also to the LMTX manual. In latest, the PDF document for LMTX is from yesterday, but the PDF for the Following Up manual is almost two years old. Is this intended or am I missing something? Many thanks for your help,

Re: [NTG-context] Question about "streams" module

2021-06-23 Thread MANUEL GONZALEZ SUAREZ
Thanks very much, Thomas. -Mensaje original- De: ntg-context [mailto:ntg-context-boun...@ntg.nl] En nombre de Thomas A. Schmitz Enviado el: martes, 22 de junio de 2021 21:57 Para: mailing list for ConTeXt users Asunto: Re: [NTG-context] Question about "streams" module On 6/

Re: [NTG-context] Question about "streams" module

2021-06-22 Thread Thomas A. Schmitz
On 6/22/21 5:43 PM, MANUEL GONZALEZ SUAREZ wrote: Hello everybody: My question is this: Is the "streams" module obsolete? If not, where can I find documentation on its use? Thanks M. González. Hans is working on a new mechanism and has recently been thinking about integra

  1   2   3   4   5   6   7   8   9   10   >